package com.xyz.shiro.exception;

public class JwtException extends RuntimeException {

    private EnumJwtExceptionType enumType;

    public JwtException(EnumJwtExceptionType enumType,String message){
        super(message);
        this.enumType = enumType;
    }

    public JwtException(EnumJwtExceptionType enumType, String message, Throwable t){
        super(message,t);
        this.enumType = enumType;
    }

    public enum EnumJwtExceptionType{
        UnSupportEncoding,
        DecodeFail
    }
}
